﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Juntae.Default" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style3
        {
            font-family: Verdana;
            font-size: 14px;
            color: #FFFFFF;
            width: 120px;
        }
        .style7
        {
            width: 240px;
        }
        .style8
        {
            font-family: Verdana;
            font-size: 14px;
            color: #FFFFFF;
            width: 60px;
        }
        .style9
        {}
        .style10
        {
            width: 412px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="cadastre">
        <div id="slogan">
            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
            </asp:ToolkitScriptManager>
            Junte sua galera e venha<br />
            participar da rede social<br />
            de eventos Juntaê.<br />
            <div id="slogan2">
                Já possui cadastro ?<br />
                Acesse agora!<br />
            </div>
            <img src="img/faixa_cadastre.png" class="faixacadastre" border="0" alt="Cadastre-se" />
        </div>
        <div id="form_cadastre">
            <table class="style1">
                <tr>
                    <td class="style3">
                        Nome:
                    </td>
                    <td class="style10">
                        <asp:TextBox ID="txtNome" runat="server" Style="font-family: Verdana; font-size: 14px;
                            color: #666666" Width="234px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtEmailCadastro" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                        </td>
                </tr>
                <tr>
                    <td class="style3">
                        Sobrenome:
                    </td>
                    <td class="style10">
                        <asp:TextBox ID="txtSobreNome" runat="server" Style="font-family: Verdana; font-size: 14px;
                            color: #666666" Width="234px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtSobreNome" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                        </td>
                </tr>
                <tr>
                    <td class="style3">
                        E-mail:
                    </td>
                    <td class="style10">
                        <asp:TextBox ID="txtEmailCadastro" runat="server" Style="font-family: Verdana; font-size: 14px;
                            color: #666666" Width="234px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="txtEmailCadastro" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                        </td>
                </tr>
                <tr>
                    <td class="style3">
                        Senha:
                    </td>
                    <td class="style10">
                        <asp:TextBox ID="txtSenhaCadastro" runat="server" Style="font-family: Verdana; font-size: 14px;
                            color: #666666" TextMode="Password" Width="234px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                            ControlToValidate="txtSenhaCadastro" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                        </td>
                </tr>
                <tr>
                    <td class="style3">
                        Repetir Senha:</td>
                    <td class="style10">
                        <asp:TextBox ID="txtRepetirSenhaCadastro" runat="server" Style="font-family: Verdana; font-size: 14px;
                            color: #666666" TextMode="Password" Width="234px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                            ControlToValidate="txtRepetirSenhaCadastro" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                            ControlToCompare="txtSenhaCadastro" ControlToValidate="txtRepetirSenhaCadastro" 
                            ErrorMessage="As senhas não coincidem." ForeColor="#FFFFCC" 
                            Display="Dynamic" style="font-family: Verdana; font-size: 12px" 
                            ValidationGroup="Cadastro"></asp:CompareValidator>
                    </td>
                    <td>
                        &nbsp;&nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Sexo:
                    </td>
                    <td class="style10">
                        <asp:DropDownList ID="ddlSexo" runat="server" CssClass="ddlNascimento" Style="font-family: Verdana;
                            font-size: 12px; color: #666666" Width="100px">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                            ControlToValidate="ddlSexo" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" InitialValue="Gênero:" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Nascimento:
                    </td>
                    <td class="style10">
                        <asp:UpdatePanel ID="upNascimento" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlNascimentoDia" runat="server" CssClass="ddlNascimento" Style="font-family: Verdana;
                            font-size: 12px; color: #666666">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                    ControlToValidate="ddlNascimentoDia" Display="Dynamic" ErrorMessage="*" 
                                    ForeColor="#FFFFCC" InitialValue="Dia:" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                                <asp:DropDownList ID="ddlNascimentoMes" runat="server" AutoPostBack="True" 
                                    CssClass="ddlNascimento" 
                                    onselectedindexchanged="ddlNascimentoMes_SelectedIndexChanged" Style="font-family: Verdana;
                            font-size: 12px; color: #666666" Width="100px">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                    ControlToValidate="ddlNascimentoMes" Display="Dynamic" ErrorMessage="*" 
                                    ForeColor="#FFFFCC" InitialValue="Mes:" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                                <asp:DropDownList ID="ddlNascimentoAno" runat="server" CssClass="ddlNascimento" Style="font-family: Verdana;
                            font-size: 12px; color: #666666" Width="70px">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                    ControlToValidate="ddlNascimentoAno" Display="Dynamic" ErrorMessage="*" 
                                    ForeColor="#FFFFCC" InitialValue="Ano:" ValidationGroup="Cadastro"></asp:RequiredFieldValidator>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlNascimentoMes" 
                                    EventName="SelectedIndexChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
            <asp:ImageButton ID="btnCadastrar" runat="server" CssClass="btnCadastrar" 
                ImageUrl="~/img/btnCadastrar.png" ValidationGroup="Cadastro" 
                onclick="btnCadastrar_Click" />
        </div>
        <div id="formLogin">
            <table class="style1">
                <tr>
                    <td class="style8">
                        E-mail:</td>
                    <td class="style7">
                        <asp:TextBox ID="txtEmailLogin" runat="server" Style="font-family: Verdana; font-size: 14px;
                            color: #666666" Width="150px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                            ControlToValidate="txtEmailLogin" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" ValidationGroup="Login"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style8">
                        Senha:</td>
                    <td class="style7">
                        <asp:TextBox ID="txtSenhaLogin" runat="server" Style="font-family: Verdana; font-size: 14px;
                            color: #666666" Width="150px" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                            ControlToValidate="txtSenhaLogin" Display="Dynamic" ErrorMessage="*" 
                            ForeColor="#FFFFCC" ValidationGroup="Login"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="style9" colspan="2">
                        <asp:CheckBox ID="chkConectado" runat="server" CssClass="chkConectado" 
                            Height="10px" style="font-family: Verdana; font-size: 11px; color: #FFFFFF" />
                        <asp:Label ID="lblConectado" runat="server" CssClass="lblConectado" 
                            style="font-family: Verdana; font-size: 11px; color: #FFFFFF" 
                            Text="Permanecer conectado"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="style9" colspan="2">
                        <asp:LinkButton ID="lnkRecoveryPass" runat="server" CssClass="esqueciSenhaLink" 
                            Font-Underline="False" 
                            style="font-family: Verdana; font-size: 11px; text-decoration: underline" 
                            onclick="lnkRecoveryPass_Click">Esqueci minha senha</asp:LinkButton>
                    </td>
                </tr>
                </table>
            <asp:ImageButton ID="btnLogar" runat="server" CssClass="btnEntrar" 
                ImageUrl="~/img/btnEntrar.png" ValidationGroup="Login" 
                onclick="btnLogar_Click" />
        </div>
    </div>
</asp:Content>
